package com.zijin.Dao;

import com.zijin.entity.Dept;

import java.util.List;
import java.util.Map;

public interface DeptMapper {
    //方法的返回类型是mapper.xml中的resultType
    //方法名是mapper.xml中的id值
    //参数是mapper.xml中的parameterType
    List<Dept> selectAllDept();
    Dept selectDeptById();
    int addDept1(int id );
    int addDept2(Dept dept);
    //Dept selectEmp(Map<String, Object> map);
}
